package question9;

import java.util.LinkedList;
import java.util.Queue;

public class Main {

    public int minCoinNum(int n) {
        int fiveNum = n / 5;
        int twoNum = n % 5 / 2;
        int onwNum = n % 5 % 2 ;
        return  fiveNum + twoNum + onwNum;
    }

    public static void main(String[] args) {
        int i = new Main().minCoinNum(00);
        System.out.println(i);
    }
}
